﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace WebCamControl
{
    public class WebCamControlArgs : EventArgs
    {
        private Bitmap lastFrame;
        public Bitmap LastFrame
        {
            get { return lastFrame; }
        }

        private int width;
        public int Width
        {
            get { return width; }
            set { width = value; }
        }

        private int height;
        public int Height
        {
            get { return height; }
            set { height = value; }
        }

        public WebCamControlArgs(Bitmap _lastFrame, int _width, int _height)
        {
            this.lastFrame = _lastFrame;
            this.width = _width;
            this.height = _height;
        }
    }
}
